#ifndef __CANDSEND_H
#define __CANDSEND_H
#include "bsp.h"
#include "util.h"
#include "driver_can.h"
#include "stdbool.h"	

typedef struct {

	uint8_t electricSwitchData[3];
	uint32_t loops;
} canSendStruct_t;

void canDataSend(CAN_TypeDef *CANx, u32 ID_CAN);
void canSendUpdate(void);
void canSendInit(void);

extern canSendStruct_t canSendData;

#endif
